package com.stock.domain.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(description = "登录请求参数")
@Data
public class LoginRequest {
    @ApiModelProperty(value = "用户名")
    // 用户名
    private String username;

    @ApiModelProperty(value = "密码")
    //明文密码
    private String password;
    /**
     * 验证码
     */
    @ApiModelProperty(value ="验证码")
    private String code;

    /**
     * 保存redis随机码的key，也就是sessionId
     */
    @ApiModelProperty("sessionId")
    private String sessionId;
}
